package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房屋预约对象 house_booked
 * 
 * @author ruoyi
 * @date 2020-12-08
 */
public class HouseBooked extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约编号id */
    private Long id;

    /** 房屋朝向 */
    @Excel(name = "房屋朝向")
    private String hHead;

    /** 房屋户型 */
    @Excel(name = "房屋户型")
    private String hModel;

    /** 房屋描述 */
    @Excel(name = "房屋描述")
    private String hDescribe;

    /** 地址 */
    @Excel(name = "地址")
    private String hAddress;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hOrdertime;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String hPhone;

    /** 预约者 */
    @Excel(name = "预约者")
    private String hAthor;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void sethHead(String hHead) 
    {
        this.hHead = hHead;
    }

    public String gethHead() 
    {
        return hHead;
    }
    public void sethModel(String hModel) 
    {
        this.hModel = hModel;
    }

    public String gethModel() 
    {
        return hModel;
    }
    public void sethDescribe(String hDescribe) 
    {
        this.hDescribe = hDescribe;
    }

    public String gethDescribe() 
    {
        return hDescribe;
    }
    public void sethAddress(String hAddress) 
    {
        this.hAddress = hAddress;
    }

    public String gethAddress() 
    {
        return hAddress;
    }
    public void sethOrdertime(Date hOrdertime) 
    {
        this.hOrdertime = hOrdertime;
    }

    public Date gethOrdertime() 
    {
        return hOrdertime;
    }
    public void sethPhone(String hPhone) 
    {
        this.hPhone = hPhone;
    }

    public String gethPhone() 
    {
        return hPhone;
    }
    public void sethAthor(String hAthor) 
    {
        this.hAthor = hAthor;
    }

    public String gethAthor() 
    {
        return hAthor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hHead", gethHead())
            .append("hModel", gethModel())
            .append("hDescribe", gethDescribe())
            .append("hAddress", gethAddress())
            .append("hOrdertime", gethOrdertime())
            .append("hPhone", gethPhone())
            .append("hAthor", gethAthor())
            .toString();
    }
}
